/**
 * 
 */
package messaage;

/**
 * @author mariak
 * 
 */
public class RemoveThreadMsg extends Message {

	private String forumID;
	private String threadID;

	/**
	 * 
	 */
	public RemoveThreadMsg(String username, String forumID, String threadID) {
		this.username = username;
		this.forumID = forumID;
		this.threadID = threadID;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see messaage.Message#toString()
	 */
	@Override
	public String toString() {
		String msg = "Remove thread:\n " + "Removed tread: " + this.threadID
				+ "\nRemoved forum: " + this.forumID + "\nUsername: "
				+ this.username + "\n" + '\0';
		return msg;
	}

	/**
	 * @return the forumID
	 */
	public int getForumID() {
		return Integer.parseInt(forumID);
	}

	/**
	 * @return the threadID
	 */
	public int getThreadID() {
		return Integer.parseInt(threadID);
	}

}
